package cn.topcodes.tcsf.admin.web.integritycheck;

import cn.topcodes.tcsf.admin.service.IntegrityCheckRule;

/**
 * Created by Unicorn on 2018/3/14.
 */
public class TestCheckRule extends IntegrityCheckRule {

    /**
     * 规则名称
     *
     * @return
     */
    @Override
    public String getName() {
        return "测试规则";
    }

    /**
     * 规则检查
     */
    @Override
    public String check() {
        output("检查第一项...");
        output("检查第二项...");
        error("检查第三项发生错误");
        output("检查第四项...");

        return "第三项发生错误";
    }
}
